﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MngSingleTaskPlan.aspx.cs"
    Inherits="LDSP.UI.EnterpriseAdmin.MngSingleTaskPlan" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <link type="text/css" href="../../../Styles/bg.css" rel="Stylesheet" />
    <script type="text/javascript" src="../../../Scripts/jquery-1.4.1.js"></script>
    <script type="text/javascript" src="../../../Scripts/jqex.js"></script>
    <script type="text/javascript" src="../../../Scripts/Common.js"></script>
    <script type="text/javascript" src="../../../Scripts/calendar.js"></script>
    <title>任务计划管理</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="mngTitle">
            <table width="100%">
                <tr>
                    <td>
                        <span class="mngEmphasis">任务计划列表</span>
                    </td>
                    <td style="text-align: right">
                        <a class="helplink" href="javascript:ShowHelpDialog('../UserManagement/Help.aspx#5')">
                            帮助</a>
                    </td>
                </tr>
            </table>
        </div>
        <div class="mngList">
            <asp:Button ID="btn_add" runat="server" Text="添加" OnClick="btn_add_Click" CssClass="mngBtn" /><asp:Button
                ID="Button2" runat="server" Text="删除选中" OnClientClick="return confirm('您确认要删除么？')"
                OnClick="btn_delete_Click" CssClass="mngBtn" />
            <asp:Button ID="btn_export" runat="server" Text="导出" CssClass="mngBtn" OnClick="btn_export_Click" /><asp:Button
                ID="btn_goback" runat="server" Text="返回" OnClick="btn_goback_Click" CssClass="mngBtn" />
        </div>
        <asp:GridView ID="grd_list" runat="server" AutoGenerateColumns="False" EmptyDataText="当前没有查到任何数据！"
            DataKeyNames="id" OnRowCommand="grd_list_RowCommand" OnRowDataBound="grd_list_RowDataBound"
            BackColor="#666699" BorderColor="#999999" AllowPaging="true" AllowSorting="true"
            CellPadding="3" GridLines="Vertical" Width="99%" OnPageIndexChanging="grd_list_PageIndexChanging"
            OnSorting="grd_list_Sorting" Style="margin-top: 0px">
            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
            <RowStyle BackColor="#EEEEEE" ForeColor="Black" BorderStyle="Solid" BorderWidth="1px" />
            <EmptyDataRowStyle BorderStyle="None" BorderWidth="0px" Font-Bold="True" Font-Size="16pt"
                ForeColor="white" />
            <Columns>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:CheckBox ID="chb_selectAll" runat="server" onclick="selectAll(this,'grd_list')" />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:CheckBox ID="chb" runat="server" />
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" Width="40px" />
                </asp:TemplateField>
                <asp:BoundField HeaderText="序号" DataField="id" SortExpression="" ItemStyle-Width="40px"
                    ItemStyle-HorizontalAlign="Center"></asp:BoundField>
                <asp:BoundField HeaderText="法律法规/标准名称" DataField="" SortExpression="favoriteID" ItemStyle-Width="120px"
                    ItemStyle-HorizontalAlign="Center"></asp:BoundField>
                <asp:BoundField HeaderText="责任人" DataField="person" SortExpression="person" ItemStyle-Width="60px"
                    ItemStyle-HorizontalAlign="Center"></asp:BoundField>
                <asp:BoundField HeaderText="任务名称" DataField="name" SortExpression="name" ItemStyle-Width="80px"
                    ItemStyle-HorizontalAlign="Center"></asp:BoundField>
                <asp:BoundField HeaderText="执行部门/人员" DataField="department" SortExpression="department"
                    ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center"></asp:BoundField>
                <asp:BoundField HeaderText="到期时间" DataField="expiredDT" SortExpression="expiredDT"
                    ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Center"></asp:BoundField>
                <asp:BoundField HeaderText="项目进度概述" DataField="progress" SortExpression="progress"
                    ItemStyle-Width="120px"></asp:BoundField>
                <asp:BoundField HeaderText="修改时间" DataField="changeDT" SortExpression="changeDT"
                    ItemStyle-Width="60px" ItemStyle-HorizontalAlign="Center"></asp:BoundField>
                <asp:BoundField HeaderText="备注" DataField="comment" SortExpression="comment"></asp:BoundField>
                <asp:BoundField HeaderText="状态" DataField="status" SortExpression="status" ItemStyle-Width="45px"
                    ItemStyle-HorizontalAlign="Center"></asp:BoundField>
                <asp:BoundField HeaderText="类型" DataField="type" SortExpression="type" ItemStyle-Width="45px"
                    ItemStyle-HorizontalAlign="Center"></asp:BoundField>
                <asp:TemplateField HeaderText="操作" ShowHeader="False" ItemStyle-Width="55px" ItemStyle-HorizontalAlign="Center">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" CommandArgument='<%# Eval("id") %>'
                            CommandName="updateItem" Text="修改"></asp:LinkButton>
                        <asp:LinkButton ID="LinkButton3" runat="server" CausesValidation="False" CommandName="deleteItem"
                            OnClientClick="return confirm('您确认要删除么？')" Text='删除' CommandArgument='<%# Eval("id") %>'></asp:LinkButton>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left" Width="55px" />
                </asp:TemplateField>
            </Columns>
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
            <HeaderStyle CssClass="gridlisthead" ForeColor="White" />
            <AlternatingRowStyle BackColor="#DCDCDC" />
        </asp:GridView>
    </div>
    </form>
</body>
</html>
